package com.qyer.lxp.model.product.normal;

import javax.xml.bind.annotation.*;
import java.io.Serializable;
import java.util.List;

/**
 * 获取产品行程途径地
 * Created by wangzhen on 16/5/19.
 */

@XmlRootElement(name = "voucher-info")
@XmlAccessorType(XmlAccessType.FIELD)
public class SaleItemVoucherInfo implements Serializable{
    private static final long serialVersionUID = 2299530736223326143L;

    private int id;

    /**
     * NONE/NEED(不需要/需要)
     */
    @XmlElement(name = "need-delivery")
    private String needDelivery;

    /**
     * EMP/EMS(格式为EMP/EMS/FRP 多个由/隔开 配送类型,免费快递:FRP, 快递到付:EMS,快递预付:EMP)
     */
    @XmlElement(name = "delivery-type")
    private String deliveryType;

    /**
     * NONE/NEED(不需要/需要)
     */
    @XmlElement(name = "need-exchange")
    private String needExchange;

    /**
     * STE/ATE(需旅客到指定地点自行换票、需到景区门口换票)
     */
    @XmlElement(name = "ticket-get-type")
    private String ticketGetType;

    /**
     * 自取地址
     */
    @XmlElement(name = "address-details")
    private SaleItemAddressDetails addressDetails;

    /**
     * true/false是否需要旅客在预定填写时选择自取地址
     */
    @XmlElement(name = "need-choose-address")
    private String needChooseAddress;

    /**
     * 使用方式(内容􏰀述)
     */
    @XmlElement(name = "usage-desc")
    private String usageDesc;

    /**
     * true/false是否需要旅客的身份证明
     */
    @XmlElement(name = "need-leader-card")
    private String needLeaderCard;

    /**
     * 使用方式VOUCHER_E/VOUCHER_PAPER_ONLY/ VOUCHER_ID_ONLY(电子凭证/
     纸质凭证/需要旅客证件)
     */
    @XmlElement(name = "usage-code")
    private String usageCode;

    /**
     * 产品使用类型
     */
    @XmlElement(name = "ticket-type")
    private String ticketType;

    /**
     * 使用注意事项
     */
    @XmlElement(name = "notice")
    private String notice;

    /**
     * 使用提示
     */
    /**
     * 接地点集合
     */
    @XmlElementWrapper(name = "use-tips")
    @XmlElement(name = "use-tip")
    private List<String> useTips;

    private String useTips_str;

    private String saleCode;

    private String productCode;

    public String getNeedDelivery() {
        return needDelivery;
    }

    public void setNeedDelivery(String needDelivery) {
        this.needDelivery = needDelivery;
    }

    public String getDeliveryType() {
        return deliveryType;
    }

    public void setDeliveryType(String deliveryType) {
        this.deliveryType = deliveryType;
    }

    public String getNeedExchange() {
        return needExchange;
    }

    public void setNeedExchange(String needExchange) {
        this.needExchange = needExchange;
    }

    public String getTicketGetType() {
        return ticketGetType;
    }

    public void setTicketGetType(String ticketGetType) {
        this.ticketGetType = ticketGetType;
    }

    public SaleItemAddressDetails getAddressDetails() {
        return addressDetails;
    }

    public void setAddressDetails(SaleItemAddressDetails addressDetails) {
        this.addressDetails = addressDetails;
    }

    public String getNeedChooseAddress() {
        return needChooseAddress;
    }

    public void setNeedChooseAddress(String needChooseAddress) {
        this.needChooseAddress = needChooseAddress;
    }

    public String getUsageDesc() {
        return usageDesc;
    }

    public void setUsageDesc(String usageDesc) {
        this.usageDesc = usageDesc;
    }

    public String getNeedLeaderCard() {
        return needLeaderCard;
    }

    public void setNeedLeaderCard(String needLeaderCard) {
        this.needLeaderCard = needLeaderCard;
    }

    public String getUsageCode() {
        return usageCode;
    }

    public void setUsageCode(String usageCode) {
        this.usageCode = usageCode;
    }

    public String getTicketType() {
        return ticketType;
    }

    public void setTicketType(String ticketType) {
        this.ticketType = ticketType;
    }

    public String getNotice() {
        return notice;
    }

    public void setNotice(String notice) {
        this.notice = notice;
    }

    public List<String> getUseTips() {
        return useTips;
    }

    public void setUseTips(List<String> useTips) {
        this.useTips = useTips;
    }

    public String getUseTips_str() {
        return useTips_str;
    }

    public void setUseTips_str(String useTips_str) {
        this.useTips_str = useTips_str;
    }

    public String getSaleCode() {
        return saleCode;
    }

    public void setSaleCode(String saleCode) {
        this.saleCode = saleCode;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }
}
